home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17260 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.acadia.net!usenet
  2. From: Nickii Sonnenberg <nickii@aerohydro.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Couple of Visual C++ questions
  5. Date: Sun, 14 Apr 1996 18:00:38 -0300
  6. Organization: AeroHydro
  7. Message-ID: <31716776.A2A@aerohydro.com>
  8. References: <4knb4s$vl0@news.smart.net>
  9. NNTP-Posting-Host: bhb25.acadia.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win95; I)
  14.  
  15. Dave Clausen wrote:
  16. > Hi!  I have a few 16 bit Visual C++ questions.  Any help would be very
  17. > much appreciated.
  18. > 1.  I want a dialog which is like CFileDialog, except that it ONLY allows
  19. > the user to select a directory (not a file).  This type of dialog is
  20. > useful for allowing the user to select the destination directory where a
  21. > softwarer package will be installed.  Any hints as to where I should start?
  22.  
  23. I did this by using the CFileDialog and hiding the file related controls. One trick is you have to 
  24. have a file name (valid or not) in order for the dialog to close. You supply this (via code) to the 
  25. control as neccessary for correct behavior. Let me know if you need any more direction on this.
  26. -Nickii Sonnenberg, Software Developer
  27.